package com.jic.data.model.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " 会员等级&积分实体类")
public class MemberLevelPointsStsBaseRequest extends BaseEntityRequest {
    private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "id") 
    @ApiModelProperty(notes = "id")

    private Long id;
    // @NotEmpty(message = "渠道id") 
    @ApiModelProperty(notes = "渠道id")

    private Long channelId;
    // @NotEmpty(message = "渠道名称") 
    @ApiModelProperty(notes = "渠道名称")

    private String channelName;
    // @NotEmpty(message = "平台id") 
    @ApiModelProperty(notes = "平台id")

    private Long platformId;
    // @NotEmpty(message = "平台名称") 
    @ApiModelProperty(notes = "平台名称")

    private String platformName;
    // @NotEmpty(message = "店铺id") 
    @ApiModelProperty(notes = "店铺id")

    private Long storeId;
    // @NotEmpty(message = "店铺名称") 
    @ApiModelProperty(notes = "店铺名称")

    private String storeName;
    // @NotEmpty(message = "会员等级id") 
    @ApiModelProperty(notes = "会员等级id")

    private Integer levelId;
    // @NotEmpty(message = "会员等级名称") 
    @ApiModelProperty(notes = "会员等级名称")

    private String levelName;
    // @NotEmpty(message = "会员人数，该等级下的，该统计维度的会员人数") 
    @ApiModelProperty(notes = "会员人数，该等级下的，该统计维度的会员人数")

    private Integer levelMemberNumber;
    // @NotEmpty(message = "会员总人数，所有等级下，该统计维度的会员人数") 
    @ApiModelProperty(notes = "会员总人数，所有等级下，该统计维度的会员人数")

    private Integer allLevelsMemberNumber;
    // @NotEmpty(message = "会员人数占比，该等级下的，该统计维度的会员人数/会员总数，保留2位小数") 
    @ApiModelProperty(notes = "会员人数占比，该等级下的，该统计维度的会员人数/会员总数，保留2位小数")

    private Double levelMemberRate;
    // @NotEmpty(message = "可用积分，该等级下，该统计维度的可用积分") 
    @ApiModelProperty(notes = "可用积分，该等级下，该统计维度的可用积分")

    private Integer levelAvailablePoints;
    // @NotEmpty(message = "可用总积分，所有等级下，该统计维度的可用积分") 
    @ApiModelProperty(notes = "可用总积分，所有等级下，该统计维度的可用积分")

    private Integer allLevelsAvailablePoints;
    // @NotEmpty(message = "人均可用积分,该等级下的可用积分/会员人数，保留整数") 
    @ApiModelProperty(notes = "人均可用积分,该等级下的可用积分/会员人数，保留整数")

    private Double levelMemberAvgAvailablePoints;
    // @NotEmpty(message = "可用积分占比，该等级下的积分/所有等级下的积分，保留2位小数") 
    @ApiModelProperty(notes = "可用积分占比，该等级下的积分/所有等级下的积分，保留2位小数")

    private Double levelAvailablePointsRate;
    // @NotEmpty(message = "累计获得积分，该等级下的累计获得积分") 
    @ApiModelProperty(notes = "累计获得积分，该等级下的累计获得积分")

    private Integer levelTotalPoints;
    // @NotEmpty(message = "累计使用积分，该等级下的累计使用积分") 
    @ApiModelProperty(notes = "累计使用积分，该等级下的累计使用积分")

    private Integer levelUsedPoints;
    // @NotEmpty(message = "统计日期") 
    @ApiModelProperty(notes = "统计日期")

    private Date stsDate;
    // @NotEmpty(message = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道") 
    @ApiModelProperty(notes = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道")

    private Integer stsType;
    // @NotEmpty(message = "更新人") 
    @ApiModelProperty(notes = "更新人")

    private Long updator;
}
